com.atlassian.jira.rpc.soap.util
Class RemoteEntityFactoryImpl
java.lang.Object
com.atlassian.jira.rpc.soap.util.RemoteEntityFactoryImpl
- All Implemented Interfaces:
- RemoteEntityFactory
public class RemoteEntityFactoryImpl
- extends java.lang.Object
- implements RemoteEntityFactory
Default implementation of the RemoteEntityFactory interface. Provides email address protection to prevent
information leakage in RPC land.
- Since:
- v4.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emailFormatter
private final EmailFormatter emailFormatter
groupManager
private final GroupManager groupManager
RemoteEntityFactoryImpl
public RemoteEntityFactoryImpl(EmailFormatter emailFormatter,
GroupManager groupManager)
createUser
public RemoteUser createUser(User user)
- Description copied from interface:
RemoteEntityFactory
- Returns a RemoteUser based on the OSUser implementation.
- Specified by:
createUser in interface RemoteEntityFactory
- Parameters:
user - real user; must not be null.
- Returns:
- a RemoteUser bean
createGroup
public RemoteGroup createGroup(Group group)
- Description copied from interface:
RemoteEntityFactory
- Returns a RemoteGroup based on the OSUser implementation.
- Specified by:
createGroup in interface RemoteEntityFactory
- Parameters:
group - real group; must not be null.
- Returns:
- a RemoteGroup bean